package com.atguigu.gmall.common.config.minio.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @ClassName: MinioProperties
 * @Author: WDD
 * @CreateTime: 2022-12-02  01:25
 * @Description:
 */
@Component //放入容器
@ConfigurationProperties(prefix = "app.minio") //读取配置文件中app.minio下的属性值
@Data
public class MinioProperties {
    String endpoint;

    String accessKey;

    String secretKey;

    String bucketName;
}
